<!--
/**************************************************
* @ balancecategorymod.jsp
*
* Copyright   2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/02/14, Jenny Li
*  1) first release
/**************************************************
-->
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="../../common.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--<link href="<%=root%>/css/css.css" rel="stylesheet" type="text/css">-->
<LINK rel="stylesheet" href="css/caigouxitong.css">
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language="JavaScript" src="<%=root%>/js/hi-check.js"></SCRIPT>
<title>修改结算分类</title>
<%
	GSBalanceCategoryBean tBean = (GSBalanceCategoryBean)request.getAttribute("balancecategory");
%>
<script language="JavaScript">

<%if(message == null){%>
	function process(param){
  	    var iFields1 = new Array(2);
        var ary = new Array(2);
        if(param == 'M'){
        	if(operatormodform.balancecategoryname.value == '' || operatormodform.balancecategoryname.value == null ){
        		alert("请录入结算分类名称！");
        		return false;
        	}
	       	ary[0] = operatormodform.balancecategoryname.value;
	       	ary[1] = operatormodform.desc.value;
	       	window.returnValue = ary;	  
	       	window.close();
       	}
	}
	
	function back(){
  
    self.close();
   }
</script>
</head>
<body text="#000000" leftmargin="0" topmargin="0"  marginwidth="0" marginheight="0">

<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="20"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr height="20">
          <td height="20" width="1" class="mtxt_black">&nbsp;</td>
          <td height="30" width="758" class="mtxt_black">结算分类修改</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<form name="operatormodform" method="post" > 
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
		<td> 
			<table class=bg_table id=tableId	cellspacing=1 cellpadding=0 style="padding-left:5;padding-right:5" width=100% align=center border=0>
				<TR height=20>
					<input type="hidden" name="balancecategoryno" value="<%=tBean.getGs_balance_category_no()%>">
					<TD class="bg_column" align=center width="20%">结算分类名称</TD>
					<TD align=left class="bg_row_odd" width="30%">
						<input type="text" name="balancecategoryname" value="<%=tBean.getGs_balance_category_name()%>">
					</TD>										
				</TR>
				<TR height=20>
					<TD class="bg_column" align=center width="20%">描述</TD>
					<TD align=left class="bg_row_odd" width="30%">
						<input type="text" name="desc" maxlength="20" value="<%=tBean.getGs_desc()%>">
					</TD>					
				</TR>

			</table>
		</td>
	</tr>
</table>
</form>
    <p align="center">  
<input type="button" value="修改" onClick="process('M')" class="kuang">
<input type="button" value="关闭" onClick="back()" class="kuang">
    </p>

</body>
<%} %>
</html>